package com.school.model;

import java.io.Serializable;

public class Comment implements Serializable
{

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private int commentId;
    private String cTime;
    private int star;
    private String content;
    private int eateryId;
    private int userId;
    
    public int getCommentId()
    {
        return commentId;
    }
    public void setCommentId(int commentId)
    {
        this.commentId = commentId;
    }
    public String getcTime()
    {
        return cTime;
    }
    public void setcTime(String cTime)
    {
        this.cTime = cTime;
    }
    public int getStar()
    {
        return star;
    }
    public void setStar(int star)
    {
        this.star = star;
    }
    public String getContent()
    {
        return content;
    }
    public void setContent(String content)
    {
        this.content = content;
    }
    public int getEateryId()
    {
        return eateryId;
    }
    public void setEateryId(int eateryId)
    {
        this.eateryId = eateryId;
    }
    public int getUserId()
    {
        return userId;
    }
    public void setUserId(int userId)
    {
        this.userId = userId;
    }
    
    public Comment(int commentId, String cTime, int star, String content,
            int eateryId, int userId)
    {
        super();
        this.commentId = commentId;
        this.cTime = cTime;
        this.star = star;
        this.content = content;
        this.eateryId = eateryId;
        this.userId = userId;
    }
    
    public Comment()
    {
        super();
        // TODO Auto-generated constructor stub
    }
    
}
